package fr.cephb.locustree.svg;

import java.awt.Rectangle;

import fr.cephb.json.JSONable;
import fr.cephb.locustree.MappedObject;

public interface MappedXY
	extends JSONable
	{
	//where should we write a label ?
	public static final byte LABEL_ON_RIGHT=(byte)1;
	public static final byte LABEL_ON_LEFT=(byte)0;
	public static final byte LABEL_ON_MID=(byte)2;
	public static final byte LABEL_IGNORED=(byte)3;
	
	public MappedObject getObject();
	public void setObject(MappedObject o);
	public Rectangle getBounds();
	public void setLabelFlag(int i);
	public int getLabelFlag();
	}
